da9f9a3e20cfeec1972f1a444f6fabf905be1403,src/main/java/guichaguri/betterfps/ASMUtils.java,ASMUtils,prependMethod,#ClassNode#ClassNode#MethodNode#,649

Before Change


     * Prepends a method to another class, taking care of references
     */
    public static void prependMethod(ClassNode original, ClassNode target, MethodNode method) {
        MethodNode targetMethod = findMethod(target, method.name, method.desc);

        if(targetMethod == null) {
            target.methods.add(method);
        } else {
            method.name += "_BetterFps";

After Change


    /**
     * Prepends a method to another class, taking care of references
     */
    public static void prependMethod(ClassNode original, ClassNode target, MethodNode method) {
        prependMethod(original, target, method, findMethod(target, method.name, method.desc));
    }

    /**